#ifndef _SHELL_NEWGUY7REWARDBEAN_BEAN_H_
#define _SHELL_NEWGUY7REWARDBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class NewGuy7RewardBean : public Bean
{
	public:
	NewGuy7RewardBean();
	~NewGuy7RewardBean();
	void reset();
	NewGuy7RewardBean* clone();
	//奖励id
	int32 sid;
	//奖励配置
	string rewardStr;
	//一周中第几天(星期一为1,星期天为7)
	int32 dayOfWeek;
	//状态0-不可领取 1-已领取 2-可领取
	int32 status;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
